<template>
  <section>
    <div class="max-w-284 mx-auto text-[#414141] text-8 tracking-normal leading-14 font-bold">
      CNC Machining FAQs
    </div>
    <Accordion :items="accordionItems" />
  </section>
</template>

<script setup>
import Accordion from "../../common/Accordion.vue";

const accordionItems = [
  {
    title: '1.How does CNC machining differ from traditional machining?',
    content:
        'Traditional machining is typically manual and requires human operators to control the machining tools. In contrast, CNC machining is automated, with computer programs controlling the machine’s movements. CNC machining offers higher precision, faster production times, and greater design flexibility compared to traditional methods.'
  },
  {
    title: '2.What file formats are needed for CNC machining?',
    content:
        'Commonly used file formats for CNC machining include STEP, IGES, DXF, and STL. These formats contain the 3D CAD model or 2D vector data that guides the CNC machine in producing the desired part.'
  },
  {
    title: '3.What tolerances can be achieved with CNC machining?',
    content:
        'Tolerances refer to the allowable deviation from the desired dimensions of a part. The achievable tolerances in CNC machining depend on various factors, including the material, geometry, and machine capabilities. Generally, tolerances ranging from +/- 0.001″ to 0.005″ (or +/- 0.025mm to 0.127mm) are achievable with CNC machining.'
  },
  {
    title: '4.Is CNC machining suitable for prototyping or production?',
    content:
        'CNC machining is versatile and can be used for both prototyping and production. It is particularly useful for prototyping due to its ability to produce high-quality parts quickly. For production runs, CNC machining offers cost-effective and efficient manufacturing processes, especially for small to medium batch sizes.'
  },
  {
    title: '5.How long does CNC machining take?',
    content:
        'The time required for CNC machining depends on factors such as part complexity, material, quantity, and machine availability. Simple parts may be completed in hours, while more complex or larger production runs may take several days or weeks. Rapid prototyping services can often deliver parts within 1-5 days.'
  }
]

</script>

<style scoped>
/* Optional: Add smooth transitions for the accordion */
.answer {
  transition: all 0.3s linear;
  height: 0;
  overflow: hidden;
}

p {
  background-color: #f4f4f4;
  font-size: 16px;
  line-height: 27px;
}
</style>
